package com.ruoyi.bom.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhengcl
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tql_stap_in_change")
public class TqlStapInChange {

    private Long id;
    private Integer type;
    @TableField(value = "FID")
    private Long FID;
    @TableField(value = "FDID")
    private Long FDID;
    //审核日期
    @TableField(value = "FApproveDate")
    private String FApproveDate;
    //单据编号
    private String fbillno;
    //规格型号
    private String spec;
    //物料编码
    @TableField(value = "FMaterialIdfnumber")
    private String FMaterialIdfnumber;
    //物料名称
    @TableField(value = "FMaterialIdfname")
    private String FMaterialIdfname;
    //批号
    @TableField(value = "FLot")
    private Integer FLot;
    //应收数量
    @TableField(value = "FMustQty")
    private BigDecimal FMustQty;
    //实收数量
    @TableField(value = "FRealQty")
    private BigDecimal FRealQty;
    //库存单位
    @TableField(value = "FUnitID")
    private Long FUnitID;
    //实收数量（辅单位）
    @TableField(value = "FExtAuxUnitQty")
    private Double FExtAuxUnitQty;
    //辅单位
    @TableField(value = "FExtAuxUnitId")
    private Long FExtAuxUnitId;
    //单价
    @TableField(value = "FPrice")
    private BigDecimal FPrice;
    //含税单价
    @TableField(value = "FTaxPrice")
    private BigDecimal FTaxPrice;
    //物料描述
//    private String FMaterialDesc;
    //价税合计
    @TableField(value = "FAllAmount")
    private Double FAllAmount;
    //实收金额
    @TableField(value = "FRealAmount")
    private Double FRealAmount;
    //金额
    @TableField(value = "FAmount")
    private Double FAmount;
    //计价单位 编码
    @TableField(value = "FPriceUnitIDfnumber")
    private String FPriceUnitIDfnumber;
    //计价单位 名称
    @TableField(value = "FPriceUnitIDfname")
    private String FPriceUnitIDfname;
    ////计价单位 编码数量
    @TableField(value = "FPriceUnitQty")
    private Double FPriceUnitQty;
    //入库时间
    @TableField(value = "FDate")
    private String FDate;
    //收料组织的公司门店编码
    @TableField(value = "FStockOrgIdfnumber")
    private String FStockOrgIdfnumber;
    //收料组织的公司门店名称
    @TableField(value = "FStockOrgIdfname")
    private String FStockOrgIdfname;
    //收料组织的公司门店下面的部门编码
    @TableField(value = "FStockDeptIdfnumber")
    private String FStockDeptIdfnumber;
    //收料组织的公司门店下面的部门名称
    @TableField(value = "FStockDeptIdfname")
    private String FStockDeptIdfname;
    //建表时间
    @TableField(value = "createtime")
    private Date createtime;
    //建表时间
    private Integer flag;
    @TableField(value = "FStockIdfnumber")
    private String FStockIdfnumber;
    //收料对应的公司门店下面的仓库名称
    @TableField(value = "FStockIdfname")
    private String FStockIdfname;

}
